import axios from '@/request/axios.js'
const base_url = '/show'
//GET 成功率接口
function getSuccessRate() {
    return axios({
        url:base_url+'/get_successRate',
        method:'get'
    })
}
//GET 今日任务完成数量
function getTasksCompletedToday() {
    return axios({
        url:base_url+'/get_tasksCompletedToday',
        method:'get'
    })
}
//GET 成果一览
function getAchievement() {
    return axios({
        url:base_url+'/get_achievement',
        method:'get'
    })
}
//GET 预警信息统计表
function getEarlyWarning() {
    return axios({
        url:base_url+'/get_earlyWarning',
        method:'get'
    })
}
//GET 任务一览
function getTaskOverview() {
    return axios({
        url:base_url+'/get_taskOverview',
        method:'get'
    })
}
//GET 无人机效率表
function getDroneEfficiency() {
    return axios({
        url:base_url+'/get_droneEfficiency',
        method:'get'
    })
}
//GET 无人机飞行信息
function getDroneFlightInformation() {
    return axios({
        url:base_url+'/get_droneFlightInformation',
        method:'get'
    })
}
//GET 故障类型
function getFaultTypeNumber() {
    return axios({
        url:base_url+'/get_faultTypeNumber',
        method:'get'
    })
}
//GET 三个地区的故障类型，3d饼状图
function getFaultType() {
    return axios({
        url:base_url+'/get_faultType',
        method:'get'
    })
}
export {
    getSuccessRate,getTasksCompletedToday,getAchievement,getEarlyWarning,
    getTaskOverview,getDroneEfficiency,getDroneFlightInformation,getFaultTypeNumber,
    getFaultType
}